package com.sharelords.demo.client.ao;

import com.sharelords.demo.common.base.pojo.BaseAo;

import javax.persistence.Id;

/**
 * @Description: 测试数据对外业务模型
 *
 * @Author: 千古龙少
 * @Time: 2019/11/20 23:57
 */
public class DemoTestAo extends BaseAo {

    private static final long serialVersionUID = 6744658837780913741L;

    /**
     * 主键id
     */
    @Id
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 角色id
     */
    private Integer role;
    /**
     * 角色名称
     */
    private String roleName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return "DemoTestAo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", role=" + role +
                ", roleName='" + roleName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createBy='" + createBy + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", isDelete=" + isDelete +
                '}';
    }
}
